Hi Guys ,
I was going through the Route Reflector design and migration project and find below links useful source to consider from BGP Route Reflector perspective.
Url# https://ccdewiki.wordpress.com/2013/06/05/bgp-route-reflector/
BGP Route Reflector
Purpose
- The purpose is to reduce the number of iBGP peers
- Advantage over confederation is route reflector can be implemented in stages, where else confederation is an all or no.
- only the router reflector needs to be configured, the other BGP routers remain the same, no changes are needed
- route reflector essentially breaks the regular rule of BGP or not to re-advertise prefixes that are received from an iBGP peer to another iBGP peer. A route reflector’s job is to reflect iBGP prefixes to another iBGP peers
- It is best to follow the physical topology when placing route reflector on the network. it is common for route reflectors to be the aggregation routers in a network, or on the core router in a POP. This is to avoid suboptimal routing black holing and routing loops. The reason is because having the RR follow the physcial topology guarantee that the packet forwarding won’t be affected. However if you run MPLS, RR should be out of the packet forwarding path.
- To increase fault tolerant, implement two route reflectors per cluster
- To reduce the total number of iBGP sessions, we can use a RR. So instead of n*(n-1)/2 sessions, we will have only n session. However the RR becomes a single point of failure. So we always want at lease two RR on a network. So at minimum, the total number of iBGP sessions are 2n.
- Any Router can peer eBGP in a RR network. RR clients, non-client and the RR can peer eBGP with another AS
Hierarchical RR
- You can have hierarchical model where a route reflector is a client for another route reflector, however remember each RR introuduce delay in route update, and thus increase convergence time
Cluster
- A cluster is defined a its RR and the RR clients
- Client can peer with RRs in multiple clusters
- It is highly recommended to have only ONE RR per cluster. RR client get redundancy by peering with two clusters.
- Use same cluster ID to reduce memory and processing on RR (RR does not send updates to another RR with the same cluster ID)
- Use different cluster ID to have more redundant paths on the RR
In MPLS network
- it is best to have RR outside of the packet forwarding path, to improve packet forwarding performance, for better scalability, and troubleshooting.
- PE rejects vpnv4 prefixes when there is not VRF that needs to import the prefixes. RR however accepts all vpnv4 prefixes, and reflect them.
- Normally, full meshed among all PE are required in a MPLS L3 VPN network. That means the total peer sessions are n*(n-1)/2.
- We should distribute load on RRs by configuring the RRs to reflect selected vpnv4 prefixes only using RT. For example one RR only reflects odd RT, and the second RR only reflects even RT.
- Outbound Route FIlter (ORF) is a feature that allow a iBGP peer to inform its peer NOT to selected prefixes. It can be used on PE as well as RR to reduce prefixes update.
Multipath
- When RR is used, only the best path is sent it its client, as a result, only one path is kept for each prefix at the PE.
Why do we need multipath?
- we need multiple path on PE for Fast Convergence
- multipath also enable load balancing (ECMP)
- since RR hide some paths, it could cause Prefix Oscillation due to comparison of paths based on MED
- Host Potato Routing means Optimal Exit route. Optimal route is not always known on the PE in a RR environment (because the best path is from the RR perspective, not from the PE perspective)
Solutions to enable multipath
- Use unique RD per VRF per PE in VPNv4 network
- Shadow Route Reflector:
- add a RR and tell the RR to advertise the SECOND best path instead of the Best Path.
- Only the shadow RR needs to support this feature. (make sure the shadow RR select the same BEST and SECOND BEST PATH as the primary RR).
- There is an option to create another iBGP session on the primary RR and configure 2nd best path on the new iBGP peer
- BGP Add-Path Feature (http://tools.ietf.org/html/draft-ietf-idr-add-paths-09)
- Robert Raszuk from Cisco has an excellent Nanog presentation when to use or not to use Add-Path